package org.opens.mybatisplus.pojo.many2many;

import java.util.List;

public class EkUser {

    private Integer userId;

    private String userName;

    private Integer userOld;

    private List<EkRole> roles;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserOld() {
        return userOld;
    }

    public void setUserOld(Integer userOld) {
        this.userOld = userOld;
    }

    public List<EkRole> getRoles() {
        return roles;
    }

    public void setRoles(List<EkRole> roles) {
        this.roles = roles;
    }

    @Override
    public String toString() {
        return "EkUser{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userOld=" + userOld +
                '}';
    }

}
